package cug.example.learningdao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@MapperScan("cug.example.learningdao.Dao.mybatis")
@EnableJpaRepositories(basePackages = "cug.example.learningdao.Dao.jpa")
public class LearningDaoApplication {

    public static void main(String[] args) {
        SpringApplication.run(LearningDaoApplication.class, args);
    }

}
